package com.zlk.algorithm.dataStructure.linkList03;

/**
 * @program: algorithm
 * @ClassName LinkUtils
 * @description:
 * @author: slfang
 * @create: 2024-02-01 15:14
 * @Version 1.0
 **/
public class LinkUtils {

    public static void printLinkedList(SimpleNode SimpleNode) {
        System.out.print("Linked List: ");
        while (SimpleNode != null) {
            System.out.print(SimpleNode.value + " ");
            SimpleNode = SimpleNode.next;
        }
        System.out.println();
    }
}
